Chapter 3 - Style Objects
This chapter describes style objects and the functions you can use to manipulate them. Read this chapter if you create or use any kind of style objects for the QuickDraw GX shapes you create.Before reading this chapter, you should be familiar with the information in the chapter "Introduction to QuickDraw GX" in this book. You should also be familiar with shape objects, as discussed in the chapter "Shape Objects" in this book.
For more information on style objects for graphic shapes, see the geometric styles chapter of Inside Macintosh: QuickDraw GX Graphics. For more information on style objects for typographic shapes, see the typographic styles chapter of Inside Macintosh: QuickDraw GX Typography.
This chapter introduces QuickDraw GX style objects and describes their properties. It then shows how to use general QuickDraw GX style-manipulation functions to
This chapter also lists and cross-references all style-related QuickDraw GX functions that are described elsewhere in this book and in other parts of Inside Macintosh.
- create and manipulate style objects
- manipulate style object properties
Chapter Contents
- About Style Objects
- Style Object Properties
- The Default Style Object
- Using Style Objects
- Creating and Manipulating Style Objects
- Creating and Deleting a Style Object
- Copying, Comparing, and Cloning Style Objects
- Loading and Unloading Style Objects
- Manipulating Style Object Properties
- Resetting a Style Object's Default Properties
- Getting and Setting Style Attributes and Text Attributes
- Manipulating a Style Object's Owner Count
- Avoiding Excessive Owner Count
- Avoiding Insufficient Owner Count
- Getting and Setting a Style Object's Tag References
- Style-Related Functions Described Elsewhere
- Style Objects Reference
- Constants and Data Types
- The Style Object
- Functions
- Creating and Manipulating Style Objects
- Manipulating Style Object Properties
- Summary of Style Objects
- Constants and Data Types
- The style object
- Functions
- Creating and Manipulating Style Objects
- Manipulating Style Object Properties